home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000114-20000217 / 000118_news@columbia.edu _Sat Jan 22 14:27:02 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA22606
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 22 Jan 2000 14:27:02 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA01320
  7.     for kermit.misc@watsun.cc.columbia.edu; Sat, 22 Jan 2000 14:05:05 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: C-Kermit 7 and character set translation
  11. Date: 22 Jan 2000 19:05:04 GMT
  12. Organization: Columbia University
  13. Message-ID: <86cv10$190$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <86b0fv$v28$1@nnrp1.deja.com>,  <m.arriaga@ip.pt> wrote:
  17. : In article <86ae6g$qm$1@newsmaster.cc.columbia.edu>,
  18. :   fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
  19. : > :to transfer text
  20. : > : files from the linux system to the DOS computer. How can I do this?
  21. : > :
  22. : > The same way.
  23. : >
  24. : > : I tried reversing the commands you advised me to use:
  25. : > :
  26. : > You don't have to reverse the commands.
  27. : Thank you for your reply, but it really doesn't seem to work. I did the
  28. : following:
  29. : started MSKermit,
  30. : set file character-set cp850,
  31. : set transfer character-set latin1
  32. : "connect"
  33. : and logged into the linux system. There I typed "kermit" and
  34. : set file character-set latin1
  35. : set transfer character-set latin1.
  36. : 1) To transfer files from the DOS PC to the linux system, I
  37. : typed "receive" at C-Kermit's prompt, then pressed Alt+X, returned to
  38. : the MSKermit prompt, and
  39. : send file.txt
  40. : This works flawlessly (accented characters are exactly the same on the
  41. : other side!!:-) - but when I try to send files from the linux system to
  42. : the PC, instead of (1) I did:
  43. : 2) (at C-Kermit's prompt)
  44. : send file2.txt
  45. : I escape back to MSKermit, type
  46. : receive
  47. : and the file is transferred, but the accented characters are
  48. : unrecognizable. What am I doing wrong?
  49. Perhaps the transfer from  C-Kermit to MS-DOS Kermit took place in binary 
  50. mode?
  51.  
  52. C-Kermit 7.0:
  53.  
  54.   http://www.columbia.edu/kermit/ckermit.html
  55.  
  56. transfers files whose names end with ".txt" in text mode by default, but
  57. earlier versions don't have this feature.  If you are using C-Kermit 6.0
  58. or earlier, you might have to tell it to:
  59.  
  60.   set file type text
  61.  
  62. before giving the SEND command.
  63.  
  64. If you are using C-Kermit 7.0, then you can force a transfer into text
  65. or binary mode with the (new) /TEXT or /BINARY switch on the SEND command,
  66. for example:
  67.  
  68.   send /text file2.txt
  69.  
  70. By the way, you don't have to type the character-set commands every time.
  71. If you always use the same character sets for text files, you can put:
  72.  
  73.   set file character-set cp850
  74.   set transfer character-set latin1
  75.  
  76. in your MSCUSTOM.INI file on the PC, and:
  77.  
  78.   set file character-set latin1
  79.   set transfer character-set latin1
  80.  
  81. in your .mykermrc file on UNIX.  Then, whenever you transfer a file in
  82. text mode between these two computers, you will always get the appropriate
  83. CP850-Latin1 translations.
  84.  
  85. This suggestion presumes you are using the standard MSKERMIT.INI and .kermrc
  86. initialization files (which "call" your personal customization files).
  87.  
  88. - Frank